<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>城市门店信息管理</title>
    <link rel="shortcut icon" href="favicon.ico">
    <script src="../../res/js/comm.js"></script>
    <link href="../../res../res/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
    <script src="../../js/wms/select.js"></script>
    <script src="../../res/js/ajaxUtil.js"></script>

</head>
<body class="gray-bg">

<style>
    .select2-container--open {
        z-index: 10000000000
    }
</style>


<div class="wrapper wrapper-content animated fadeInRight">
    <div class="panel panel-info">
        <div class="panel-heading"><i class="fa fa-info-circle"></i>城市门店信息管理</div>
        <div class="panel-body">
            <form id="queryForm" method="post" class="form-horizontal">
                <input id="cityName" type="hidden" name="cityName"/>
                <div class="form-group">
                    <label class="col-sm-1 control-label" style="margin-top: 8px;">门店名称</label>
                    <div class="col-sm-2" style="margin-top: 10px;">
                    	<input name="storeName" class="form-control" type="text">
                    </div>
                    <label class="col-sm-1 control-label" style="margin-top: 8px;">门店编码</label>
                    <div class="col-sm-2" style="margin-top: 10px;">
                    	<input name="storeCode" class="form-control" type="text">
                    </div>
                    <label class="col-sm-1 control-label" style="margin-top: 8px;">城市</label>
                    <div class="bars pull-left" style="margin-top: 10px;">
                        <select id="province" name="provinceCode" style="width: 200px;">
                            <option value="">请选择省/直辖市</option>
                        </select>
                        <select id="city" name="cityCode" style="width: 200px;">
                            <option value="">请选择市</option>
                        </select>
                    </div>
                    <div>
                        <button style="margin-left: 100px; margin-top: 5px;" class="btn btn-info" onclick='$.openx.query()'
                                type="button"><i class="glyphicon glyphicon-search"></i> 查询
                        </button>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
            </form>

            <div class="row row-lg">
                <div class="col-sm-12">
                    <div class="bars pull-left" >
                        <div id="partnerbar" ></div>
                    </div>
                    <table id="table">
                        <thead>
                        <tr>
                            <th data-field="stats" data-checkbox="true"></th>
                            <th data-align="center" data-field="cityCode">城市编码</th>
                            <th data-align="center" data-field="cityName">城市名称</th>
                            <th data-align="center" data-field="receiveAreaName">省-市</th>
                            <th data-align="center" data-field="storeCode">门店编码</th>
                            <th data-align="center" data-field="storeName">门店名称</th>
                            <th data-align="center" data-field="createTime" data-formatter='timeFormat'>创建时间</th>
                            <th data-align="center" data-field="updateTime" data-formatter='timeFormat'>修改时间</th>
                        </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </div>
        </div>
        </div>
    </div>
</div>
</body>


<script type="text/html" id="addCityStoreDialog">
    <form class="form-horizontal" id="addCityStoreForm">
        <input id="add_id" type="hidden" name="id"/>
        <input id="add_provinceId" type="hidden" name="provinceName"/>
        <input id="add_cityId" type="hidden" name="cityName"/>
        <div class="col-md-12" style="width: 600px;margin-top: 50px">
            <div class="form-group div-area" >
                <label class="col-md-4 control-label"><i class="snowflake"></i>所属城市：</label>
                <div class="col-sm-8" >
                    <select id="add_province" name="provinceCode" style="width: 150px;" >
                        <option value="" >请选择省/直辖市</option>
                    </select>
                    <select id="add_city" name="cityCode" style="width: 150px; ">
                        <option value="">请选择市</option>
                    </select>
                    <label style="padding-bottom:15px;" id="add_city_tips" />
                </div>
            </div>
			<div class="form-group div-store-codes">
                <label class="col-md-4 control-label"><i class="snowflake"></i>门店编码：</label>
				<div class="col-sm-8" >
					<textarea cols="40" rows="3" id="storeCodes" name="storeCodes" placeholder="多个门店编码以‘,’号分分隔,如：3633,6369"></textarea>
					<label style="padding-bottom:15px;" id="add_store_codes_tips" />
				</div>
            </div>
			<div class="form-group div-store-codes">
				<div class="col-sm-8" id="errorMessage">
					
				</div>
            </div>
        </div>
    </form>
</script>


<script>
    (function () {
        $.openx.loadScript(['../../js/wms/cityStore.js','../../res/js/ajaxUtil.js']);
    })();
</script>




</html>
